/**
 * 边框工具类
 * 基于 uni.scss 中的圆角变量
 */

/* 边框宽度 */
.border {
	border-width: 1px;
	border-style: solid;
}

.border-0 {
	border-width: 0;
}

.border-t {
	border-top-width: 1px;
	border-top-style: solid;
}

.border-r {
	border-right-width: 1px;
	border-right-style: solid;
}

.border-b {
	border-bottom-width: 1px;
	border-bottom-style: solid;
}

.border-l {
	border-left-width: 1px;
	border-left-style: solid;
}

/* 圆角 */
.rounded-none {
	border-radius: 0;
}

.rounded-sm {
	border-radius: $uni-border-radius-sm;
}

.rounded {
	border-radius: $uni-border-radius-base;
}

.rounded-lg {
	border-radius: $uni-border-radius-lg;
}

.rounded-full {
	border-radius: $uni-border-radius-circle;
}

.rounded-t-sm {
	border-top-left-radius: $uni-border-radius-sm;
	border-top-right-radius: $uni-border-radius-sm;
}

.rounded-t {
	border-top-left-radius: $uni-border-radius-base;
	border-top-right-radius: $uni-border-radius-base;
}

.rounded-t-lg {
	border-top-left-radius: $uni-border-radius-lg;
	border-top-right-radius: $uni-border-radius-lg;
}

.rounded-b-sm {
	border-bottom-left-radius: $uni-border-radius-sm;
	border-bottom-right-radius: $uni-border-radius-sm;
}

.rounded-b {
	border-bottom-left-radius: $uni-border-radius-base;
	border-bottom-right-radius: $uni-border-radius-base;
}

.rounded-b-lg {
	border-bottom-left-radius: $uni-border-radius-lg;
	border-bottom-right-radius: $uni-border-radius-lg;
}

.rounded-l-sm {
	border-top-left-radius: $uni-border-radius-sm;
	border-bottom-left-radius: $uni-border-radius-sm;
}

.rounded-l {
	border-top-left-radius: $uni-border-radius-base;
	border-bottom-left-radius: $uni-border-radius-base;
}

.rounded-l-lg {
	border-top-left-radius: $uni-border-radius-lg;
	border-bottom-left-radius: $uni-border-radius-lg;
}

.rounded-r-sm {
	border-top-right-radius: $uni-border-radius-sm;
	border-bottom-right-radius: $uni-border-radius-sm;
}

.rounded-r {
	border-top-right-radius: $uni-border-radius-base;
	border-bottom-right-radius: $uni-border-radius-base;
}

.rounded-r-lg {
	border-top-right-radius: $uni-border-radius-lg;
	border-bottom-right-radius: $uni-border-radius-lg;
}

